<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">


  <title>一个多用户博客后台</title>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <link rel="shortcut icon" href="favicon.ico">
  <link href="../public/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  <link href="../public/css/font-awesome.css?v=4.4.0" rel="stylesheet">
  <link href="../public/css/plugins/iCheck/custom.css" rel="stylesheet">
  <link href="../public/css/animate.css" rel="stylesheet">
  <link href="../public/css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
  <div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
      <div class="col-sm-12">
        <div class="ibox float-e-margins">
          <div class="ibox-title">
            <h5>新增用户</h5>
            <div class="ibox-tools">
                <a  href="javascript:history.go(-1)">
                    <i class="fa fa-backward"></i>返回
                </a>
            </div>
          </div>
          <div class="ibox-content">
            <form method="POST" class="form-horizontal" action="/admin/user-add">
              <div class="form-group">
                <label class="col-sm-2 control-label">用户级别:
                </label>

                <div class="col-sm-10">
                    <label class="radio-inline i-checks">
                        <input type="radio" value="0" name="level">管理员</label>
                    <label class="radio-inline i-checks">
                            <input type="radio" value="1" name="level">网站编辑</label>
                    <label class="radio-inline i-checks">
                        <input type="radio" value="2" name="level">作者</label>
                    <label class="radio-inline i-checks">
                        <input type="radio" value="2" name="level">游客</label>  
                  
                </div>
              </div>

              <div class="hr-line-dashed"></div>
              <div class="form-group">
                <label class="col-sm-2 control-label">用戶状态:</label>

                <div class="col-sm-10">
                    <label class="radio-inline i-checks">
                        <input type="radio" value="0" name="power">正常</label>
                    <label class="radio-inline i-checks">
                        <input type="radio" value="1" name="power">审核</label>
                    <label class="radio-inline i-checks">
                        <input type="radio" value="2" name="power" checked>禁止</label>
                </div>
              </div>
              <div class="hr-line-dashed"></div>
              <div class="form-group">
                <label class="col-sm-2 control-label">名称:</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" name="name">
                </div>
              </div>
              <div class="hr-line-dashed"></div>
              <div class="form-group">
                <label class="col-sm-2 control-label">密码:</label>

                <div class="col-sm-10">
                  <input type="password" class="form-control" name="password">
                </div>
              </div>
              <div class="hr-line-dashed"></div>
              <div class="form-group">
                  <label class="col-sm-2 control-label">确认密码:</label>
                  <div class="col-sm-10">
                    <input type="password" class="form-control" >
                  </div>
                </div>
                <div class="hr-line-dashed"></div>
              <div class="form-group">
                <label class="col-sm-2 control-label">昵称:</label>

                <div class="col-sm-10">
                  <input type="text" class="form-control" name="nickName">
                </div>
              </div>
              <div class="hr-line-dashed"></div>
              <div class="form-group">
                  <label class="col-sm-2 control-label">邮箱:</label>
  
                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="email">
                  </div>
                </div>
                <div class="hr-line-dashed"></div>
              
              <div class="form-group">
                <div class="col-sm-4 col-sm-offset-2">
                  <button class="btn btn-primary" type="submit">保存内容</button>
                  <button class="btn btn-white" type="submit">取消</button>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 全局js -->
  <script src="../public/js/jquery.min.js?v=2.1.4"></script>
  <script src="../public/js/bootstrap.min.js?v=3.3.6"></script>

  <!-- 自定义js -->
  <script src="../public/js/content.js?v=1.0.0"></script>

  <!-- iCheck -->
  <script src="../public/js/plugins/iCheck/icheck.min.js"></script>
  <script>
    $(document).ready(function () {
      $('.i-checks').iCheck({
        checkboxClass: 'icheckbox_square-green',
        radioClass: 'iradio_square-green',
      });
    });
  </script>

  <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
  <!--统计代码，可删除-->

</body>

</html>